package com.tfjybj.itoo.exam.model;

import com.tfjybj.itoo.exam.entity.ExamRoomEntity;
import com.tfjybj.itoo.exam.entity.ExaminationEntity;
import com.tfjybj.itoo.exam.entity.ExamineeEntity;
import com.tfjybj.itoo.exam.entity.TemplateEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * ExamInfoModel
 * 传递考试信息
 *
 * @author 任蒙蒙
 * @version 2.0.0
 * @since 2.0.0 2018-11-17 9:50:28
 */
@ApiModel(value = "ExamPaperModel:试卷信息")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamInfoModel extends TemplateEntity implements Serializable {
    /**
     * 课程名称
     */
    @ApiModelProperty(value = "课程名称", required = true)
    private String courseName;

    /**
     * 考场名称
     */
    @ApiModelProperty(value = "考场名称", required = true)
    private String roomName;

    /**
     * 学生座位号
     */
    @ApiModelProperty(value = "学生座位号", required = true)
    private String studentSeat;
    /**
     * 考生安排信息
     */
    private ExamineeEntity examineeEntity;

    /**
     * 考场安排信息
     */
    private ExamRoomEntity examRoomEntity;

    /**
     * 考试安排信息
     */
    private ExaminationEntity examinationEntity;

    /**
     * 考试的试卷信息
     */
    @ApiModelProperty(value = "考试的试卷信息", required = true)
    private ExamPaperModel examPaperModel;

    /**
     * 考试的试卷信息
     */
    @ApiModelProperty(value = "模板", required = true)
    private TemplateEntity templateEntity;


    /**
     * 考试是否结束（0代表未结束，1代表已经结束）
     */
    @ApiModelProperty(value = "考试是否结束", required = true)
    private int is_end;

    /**
     * 数据库当前时间
     */
    @ApiModelProperty(value = "数据库当前时间", required = true)
    private Date presentTime;

    /**
     * 该学生两次考试提示
     */
    @ApiModelProperty(value = "该学生两次考试提示", required = true)
    private int studentTwoLogin;

}
